module.exports = (sequelize, Sequelize) => {
  return sequelize.define('menus', {
    id: {
      type: Sequelize.INTEGER,
      primaryKey: true
    },
    name: {
      type: Sequelize.STRING
    },
    parentId: {
      type: Sequelize.INTEGER
    },
    orderNum: {
      type: Sequelize.INTEGER
    },
    hidden: {
      type: Sequelize.INTEGER
    }
  })
}
